﻿using System;
using System.Collections.Generic;
using MyAlbum.Model;
namespace MyAlbum.Services
{
    public interface ITagEntryService
    {

        /// <summary>
        /// Returns all tags
        /// </summary>
        /// <returns>IEnumerable&lt;Tag&gt;</returns>
        IEnumerable<Tag> GetTags();

        /// <summary>
        /// Delete a tag (usually when no entries were found for it,
        /// meaning it's a 'dead' tag) from the tags and tags_entry tables
        /// </summary>
        /// <param name="tagName">The tag name to look for</param>
        void DeleteTagName(string tagName);
    }
}
